﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 计算区间数据
{
    internal class Interval
    {
        private string _name;
        private int _start;
        private int _end;
        
        public Interval() { }
        public Interval(string name, int start, int end)
        {
            this._name = name;
            this._start = start;
            this._end = end;
        }

        public string Name { get { return _name; } set { _name = value; } }
        public int Start { get { return _start; } set { _start = value; } }
        public int End { get { return _end; } set { _end = value; } }

    }
}
